import { request } from '../request';

/** 推广商-我的推广链接 */
export const selectOperatorLinksList = async (params: any) => {
  const data = await request.post<any>('/admin/Duanju/selectOperatorLinksList',params);
  return data;
};

/** 推广商-数据详情 */
export const selectOperatorLinksData = async (params: any) => {
  const data = await request.post<any>('/admin/Duanju/selectOperatorLinksData',params);
  return data;
};

/** 推广商-创建链接 */
export const createOperatorLinks = async (params: any) => {
  const data = await request.post<any>('/admin/Duanju/createOperatorLinks',params);
  return data;
};

/** 推广商-删除链接 */
export const deleteOperatorLinks = async (params: any) => {
  const data = await request.post<any>('/admin/Duanju/deleteOperatorLinks',params);
  return data;
};

/** 推广商-短剧选择列表 */
export const selectAllDuanjuList = async () => {
  const data = await request.post<any>('/admin/Duanju/selectAllDuanjuList');
  return data;
};

/** 推广商-短剧集数选择列表 */
export const selectAllDuanjuEpisodesList = async (params: any) => {
  const data = await request.post<any>('/admin/Duanju/selectAllDuanjuEpisodesList',params);
  return data;
};